package dancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DancePetGainLogReissueBackup 用户宠物获取记录补发数据源备份
type DancePetGainLogReissueBackup struct {
	Id         int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	UserId     string         `json:"userId" gorm:"column:user_id;type:varchar(256);not null;default:'';comment:用户id"`
	PetNo      int64          `json:"petNo" gorm:"column:pet_no;type:bigint;default:0;not null;comment:宠物编号"`
	ElementNo  int64          `json:"elementNo" gorm:"column:element_no;type:bigint;default:0;not null;comment:补发散件编号"`
	ElementNum int64          `json:"elementNum" gorm:"column:element_num;type:bigint;default:0;not null;comment:补发散件数量"`
	CreatedAt  time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt  time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt  gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
